<template>
    <el-image :src="msg.content.content" :preview-src-list="[msg.content.content]" fit="cover"></el-image>
</template>

<script setup lang="ts">
import * as api from '../api'

const props = defineProps<{
    msg: api.ImageContent
}>()

</script>

<style scoped>
.el-image {
    display: block;
    max-width: 200px;
}

</style>